package cn.fhkj.dao;

import cn.fhkj.entity.RenqiuZfPublicityReconsideration;
import cn.fhkj.entity.RenqiuZfPublicityReconsiderationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RenqiuZfPublicityReconsiderationMapper {
    /**
     *  根据指定的条件获取数据库记录数,renqiu_zf_publicity_reconsideration
     *
     * @param example
     */
    long countByExample(RenqiuZfPublicityReconsiderationExample example);

    /**
     *  根据指定的条件删除数据库符合条件的记录,renqiu_zf_publicity_reconsideration
     *
     * @param example
     */
    int deleteByExample(RenqiuZfPublicityReconsiderationExample example);

    /**
     *  根据主键删除数据库的记录,renqiu_zf_publicity_reconsideration
     *
     * @param id
     */
    int deleteByPrimaryKey(Long id);

    /**
     *  新写入数据库记录,renqiu_zf_publicity_reconsideration
     *
     * @param record
     */
    int insert(RenqiuZfPublicityReconsideration record);

    /**
     *  动态字段,写入数据库记录,renqiu_zf_publicity_reconsideration
     *
     * @param record
     */
    int insertSelective(RenqiuZfPublicityReconsideration record);

    /**
     *  根据指定的条件查询符合条件的数据库记录,renqiu_zf_publicity_reconsideration
     *
     * @param example
     */
    List<RenqiuZfPublicityReconsideration> selectByExample(RenqiuZfPublicityReconsiderationExample example);

    /**
     *  根据指定主键获取一条数据库记录,renqiu_zf_publicity_reconsideration
     *
     * @param id
     */
    RenqiuZfPublicityReconsideration selectByPrimaryKey(Long id);

    /**
     *  动态根据指定的条件来更新符合条件的数据库记录,renqiu_zf_publicity_reconsideration
     *
     * @param record
     * @param example
     */
    int updateByExampleSelective(@Param("record") RenqiuZfPublicityReconsideration record, @Param("example") RenqiuZfPublicityReconsiderationExample example);

    /**
     *  根据指定的条件来更新符合条件的数据库记录,renqiu_zf_publicity_reconsideration
     *
     * @param record
     * @param example
     */
    int updateByExample(@Param("record") RenqiuZfPublicityReconsideration record, @Param("example") RenqiuZfPublicityReconsiderationExample example);

    /**
     *  动态字段,根据主键来更新符合条件的数据库记录,renqiu_zf_publicity_reconsideration
     *
     * @param record
     */
    int updateByPrimaryKeySelective(RenqiuZfPublicityReconsideration record);

    /**
     *  根据主键来更新符合条件的数据库记录,renqiu_zf_publicity_reconsideration
     *
     * @param record
     */
    int updateByPrimaryKey(RenqiuZfPublicityReconsideration record);

    int updateWithoutPrimaryKeyByExampleSelective(@Param("record") RenqiuZfPublicityReconsideration record, @Param("example") RenqiuZfPublicityReconsiderationExample example);

    RenqiuZfPublicityReconsideration selectByExampleForUpdateWithAssociation(RenqiuZfPublicityReconsiderationExample example);

    RenqiuZfPublicityReconsideration selectByExampleForUpdateWithOutAssociation(RenqiuZfPublicityReconsiderationExample example);

    RenqiuZfPublicityReconsideration selectByPrimaryKeyForUpdateWithAssociation(Long id);

    RenqiuZfPublicityReconsideration selectByPrimaryKeyForUpdateWithOutAssociation(Long id);

    int insertBatchSelective(List<RenqiuZfPublicityReconsideration> records);

    int updateBatchByPrimaryKeySelective(List<RenqiuZfPublicityReconsideration> records);
}